/*    */ package com.qmsk.business.info.carLesson.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadManyRows;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class CarLessonDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 19 */     return getGsonOfParams("selectSqlOfAll", params, nPageIdx, nPageSize, true); }
/*    */ 
/*    */   public int updateNumber(Long id) throws SQLException {
/* 22 */     Map params = new HashMap();
/* 23 */     params.put("id", id);
/* 24 */     return update("updateNumber", params); }
/*    */ 
/*    */   public GsonHeadManyRows getAllShop(Map<String, Object> params) throws SQLException {
/* 27 */     return getManyRowsOfParams("selectSqlOfAll", params);
/*    */   }
/*    */ 
/*    */   public GsonHeadOneRow getOneRow(Map<String, Object> params) throws SQLException {
/* 31 */     return getOneRowOfParams("selectSqlOfAll", params); }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params) throws SQLException {
/* 34 */     return getGsonOfParams("selectSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAllKeyWord(Map<String, Object> params) throws SQLException {
/* 38 */     return getGsonOfParams("selectKeyWordSqlOfType", params, false); }
/*    */ 
/*    */   public GsonEbRst selectCarlessonTypeById(Long id) throws SQLException {
/* 41 */     Map params = new HashMap();
/* 42 */     params.put("id", id);
/* 43 */     return getGsonOfParams("selectCarlessonTypeById", params, false);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.info.carLesson.dao.CarLessonDAO
 * JD-Core Version:    0.5.3
 */